package com.demo.dune.base;

import lombok.Getter;

/**
 * ResultCodeEnum.
 * @author Allen
 * @version 1.0 2022-04-04
 */
@Getter
public enum ResultCodeEnum {
	
	SUCCESS_HANDLE("0000", "success handle"), 
	
	EMPTY_INPUT_ERROR("8800", "input cannot be empty"),
	
    DATACHECK_ERROR("9900", "datacheck error"),
    
    SERVICE_ERROR("5205", "service error");
	
	private String code;
	
	private String msg;
	
	private ResultCodeEnum(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}

}
